<%@ page contentType="text/html; charset=UTF-8" import="com.pub.tools.PublicFunction"%>
<html>
<head>
<title>
testDoubleToUnicode
</title>
</head>
<body bgcolor="#ffffff">
<h1>
Double Byte String to Unicode
</h1>
<form method="post" action="testDoubleToUnicode.jsp">
Double Byte String:<input type="text" name="dblString" value="<%=request.getParameter("dblString")%>" /><br><br>
<input type="submit" name="Submit" value="Submit">
<input type="reset" value="Reset"><br />
<%
  try{
    out.println(PublicFunction.getDoubleBytesStrUnicode((request.getParameter("dblString")==null ? "" :request.getParameter("dblString"))));
  }
  catch(Exception e){
    e.printStackTrace();
  }
%>
</form>
</body>
</html>
